home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / PowerPC / Dev / PPCRelease / Examples / readme.txt < prev    next >
Encoding:
Text File  |  1998-06-05  |  3.9 KB  |  132 lines

  1. Don`t use ppcload anymore. When the ppc.library is active it`s running automaticly.
  2.  
  3.  
  4. loop.c
  5.  
  6.  This program is a simple for(;;) loop on the ppc. Should only
  7.  demonstrate how to compile something.
  8.  Run: loop.elf
  9.  
  10. Trap.c
  11.  This program causes a trap on the ppc so the ppctask causes
  12.  an exception.
  13.  Run: trap.elf
  14.  
  15. TaskA.c
  16.  This program simples outputs "Task A is active"
  17.  Can be used with TaskB to test the multitasking.
  18.  Also uses some simple DOS calls.
  19.  Run: taska.elf
  20.  
  21. TaskB.c
  22.  This program simples outputs "Task B is active"
  23.  Can be used with TaskA to test the multitasking.
  24.  Also uses some simple DOS calls.
  25.  Run: taskb.elf
  26.  
  27. TaskASemaphore.c
  28.  This program outputs "0x%lx:Task A is active" with
  29.  semaphore synchronizing.
  30.  A public semaphore with the name "TaskSemaphore"
  31.  is used to output 10 lines with the mentioned text.
  32.  Can be used together with TaskBSemaphore.c to show
  33.  the interaction between semaphore locking and multitasking.
  34.  Run: taskasemaphore.elf
  35.  
  36. TaskBSemaphore.c
  37.  This program outputs "0x%lx:Task B is active" with
  38.  semaphore synchronizing.
  39.  A public semaphore with the name "TaskSemaphore"
  40.  is used to output 10 lines with the mentioned text.
  41.  Can be used together with TaskASemaphore.c to show
  42.  the interaction between semaphore locking and multitasking.
  43.  Run: taskasemaphore.elf
  44.  
  45. TaskSignalTest.c
  46.  This program waits for a certain signal. With the program
  47.  tools/ppcsignaltask you can send the signal and the program terminates.
  48.  Run: tasksignaltest.elf
  49.  
  50. CallM68kSync.c
  51.  This program shows how PPCCallM68k is used. In this example the
  52.  call is done synchron which should be the normal case.
  53.  Run: CallM68kSync.elf
  54.  
  55. CallOSASync.c
  56.  This program shows how PPCCallOS is used. In this example the
  57.  call is done asynchron which means that the result has no meaning.
  58.  Asynchron means that the PPC doesn`t wait until this operation completes.
  59.  But if another normal systemcall(Not Message operation) is caused, it can
  60.  only execute until the last job is completed.
  61.  Run: CallOSASync.elf
  62.  
  63. Startup.c
  64.  This program shows how to the task`s startup/exit msg mechansim to
  65.  exit your M68k program without major synchronize problems.
  66.  Run: Startup
  67.  
  68. Msg2.c
  69.  Show how to send a Msg from the M68k to the PPC and from the PPC to the M68k.
  70.  It also shows how to use the StartupMsg and PPCTask`s msgport functions to
  71.  simplify the init and close phase.
  72.  Run: Msg2
  73.  
  74. Msg2old.c
  75.  This program uses oldstyle PPCObtainPort(not recommended)
  76.  
  77. Msg3.c
  78.  This test program sends 1000 messages to the PPC and
  79.  shows how long this takes.
  80.  The Messages are send synchron and every msg must
  81.  be replied after another.
  82.  Each Message has the Body "Text sent by M68k processor\n"
  83.  Run: Msg3
  84.  
  85. Msg4.c
  86.  This program sends 1000 messages to the M68k and
  87.  shows how long this takes.
  88.  The Messages are send synchron and every msg must
  89.  be replied after another.
  90.  Each Message has the Body "Text sent by PPC processor\n"
  91.  Run: Msg4
  92.  
  93. Msg5.c
  94.  This test program sends 1000 messages to the PPC and
  95.  shows how long this takes.
  96.  The Messages are send asynchron and it`s not waited
  97.  for the reply...until all messages are send
  98.  Each Message has the Body "Text sent by M68k processor\n"
  99.  Run: Msg5
  100.  
  101. Msg6.c
  102.  This test program sends 1000 messages to the M68k and
  103.  shows how long this takes.
  104.  The Messages are send asynchron and every msg must
  105.  be replied after another.
  106.  Each Message has the Body "Text sent by PPC processor\n"
  107.  Run: Msg6
  108.  
  109. Msg7.c
  110.  This test program sends 1000 messages to the PPC and
  111.  shows how long this takes.
  112.  The Messages are send synchron and every msg must
  113.  be replied after another.
  114.  Each Message has a Body with the size of 3747 bytes
  115.  and the PPC side checks if the msg was received correctly.
  116.  Run: Msg7
  117.  
  118. Libs.c
  119.  PPC program to test the PPC shared object library system including
  120.  several version check tags.
  121.  Run: Libs.elf
  122.  
  123. LibsModule.c
  124.  PPC shared object library example for Libs.c.
  125.  Run: not possible
  126.  
  127.  
  128. Time.c
  129.  
  130.  Timer measurement submodul for the 68k side
  131.  Run: not possible
  132.